aside.app-sidebar.bg-body-secondary.shadow
  .sidebar-brand
    == render 'layouts/brand_logo', site_title: Setting.site_title
  .sidebar-wrapper
    nav.mt-2
      ul.nav.sidebar-menu.flex-column data-lte-toggle="treeview" role="menu" data-accordion="false"
        = sidebar_link_to('fa-solid fa-th', root_path, text: t('dashboard.title'))
        = sidebar_link_to('fa-brands fa-adn', apps_path, text: t('apps.title'))
        = sidebar_link_to('fa-solid fa-archive', archived_apps_path, text: t('apps.archives.title'))
        = sidebar_link_to('fa-solid fa-bug', debug_files_path, text: t('debug_files.title'))

        li.nav-header = t('toolbox_section')
        = sidebar_link_to('fa-solid fa-layer-group', teardowns_path, text: t('teardowns.title'))
        = sidebar_link_to('fa-solid fa-eye', udid_index_path, text: t('udid.title'))

        - if current_user&.admin?
          li.nav-header = t('admin_section')
          = sidebar_link_to('fa-solid fa-user', admin_users_path, text: t('admin.users.title'))
          = sidebar_link_to('fa-solid fa-anchor', admin_web_hooks_path, text: t('web_hooks.title'))
          = sidebar_link_to('fa-solid fa-key', admin_apple_keys_path, text: t('admin.apple_keys.title'))
          = sidebar_link_to('fa-solid fa-window-restore', admin_backups_path, text: t('admin.backups.title'))
          = sidebar_link_to('fa-solid fa-cog', admin_settings_path, text: t('admin.settings.title'))

          li.nav-header = t('monitors_section')
          = sidebar_link_to('fa-solid fa-info-circle', admin_system_info_index_path, text: t('admin.system_info.title'))
          = sidebar_link_to('fa-solid fa-file-contract', admin_logs_path, text: t('admin.logs.title'))
          = sidebar_link_to('fa-solid fa-bars-progress', admin_background_jobs_path, text: t('admin.background_jobs.title'))
          = sidebar_link_to('fa-solid fa-database', admin_database_analytics_path, text: t('admin.database_analytics.title'))
